
package com.hitrust.gs.action;

import java.util.ArrayList;

import system.LoginContext;

import com.hitrust.gs.business.GSUniteGwProcessor;
import com.hitrust.gs.lib.GSBaseConstants;
import com.hitrust.gs.service.GSBaseAction;
import com.hitrust.gs.service.GSBaseForm;

/**
 *进入订单签收
 */
public class GSOrderReceiveAction extends GSBaseAction {

	public String execute(GSBaseForm aForm) throws Exception {

	    LoginContext loginContext = (LoginContext)aForm.getSession().getAttribute(GSBaseConstants.LOGIN);
        GSUniteGwProcessor processer = new GSUniteGwProcessor();
        ArrayList ary = processer.getWareHouseLevelName(loginContext.getLoginWarehouseCode(),loginContext.getLoginWarehouseCode());
		aForm.getRequest().setAttribute("orderdept",ary);
        
		return GSBaseConstants.FORWARD_SUCCESS;
	}
}
